projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18ab141
)
run-with-locales: Make use of -- optional
author
Simon McVittie
<smcv@debian.org>
Sun, 1 Mar 2020 12:12:45 +0000
(12:12 +0000)
committer
Simon McVittie
<smcv@debian.org>
Sun, 1 Mar 2020 13:54:35 +0000
(13:54 +0000)
Stop parsing arguments as soon as we see a non-option argument.
Gbp-Dch: ignore
debian/run-with-locales
patch
|
blob
|
history
diff --git
a/debian/run-with-locales
b/debian/run-with-locales
index c3b192ba5499aee38c9e29e4414573a06a7f2256..79267663cfda7fa6ba2ff23d622cc24447aaf154 100755
(executable)
--- a/
debian/run-with-locales
+++ b/
debian/run-with-locales
@@
-43,7
+43,7
@@
usage () {
echo "Usage: $me [--generate LOCALE...] COMMAND [ARGS...]"
}
-getopt_temp=help
+getopt_temp=
+
help
getopt_temp="$getopt_temp,generate:"
getopt_temp="$(getopt -o '' --long "$getopt_temp" -n "$0" -- "$@")"